//
//  CustomeManager.h
//  KamunShangCheng
//
//  Created by Michael Li on 2018/7/31.
//  Copyright © 2018年 Michael Li. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef void (^SuccessBlock)(NSDictionary *dict);
typedef void (^FailureBlock)(NSError *error);


@interface CustomeManager : NSObject

@property (nonatomic, copy) SuccessBlock successBlock;
@property (nonatomic, copy) FailureBlock failureBlock;
@property(nonatomic,strong) NSArray *tempURL;
+ (void)POSTWithURLIndex:(int )index
               parameters:(id)parameters
                  success:(SuccessBlock)successBlock
                  failure:(FailureBlock)failureBlock;
+ (void)POSTCheckTokenWithURLIndex:(int )index
              parameters:(id)parameters
                 success:(SuccessBlock)successBlock
                 failure:(FailureBlock)failureBlock;
@end
